using Microsoft.AspNetCore.Identity;

namespace UniversalAdmin.Domain.Entities;
    //角色实体类
    public class Role : IdentityRole<Guid> 
    {
        public string? Description {get;set;} = string.Empty; //说明

        public List<UserRole> UserRoles {get;set;} = new List<UserRole>(); //用户角色关系
        public List<RolePermission> RolePermissions {get;set;} = new List<RolePermission>(); //角色权限关系
        public List<MenuRole> MenuRoles {get;set;} = new List<MenuRole>(); //菜单角色关系
    }

